package com.apexcode.system.service.question;

import com.apexcode.system.domain.question.dto.QuestionAddDTO;
import com.apexcode.system.domain.question.dto.QuestionEditDTO;
import com.apexcode.system.domain.question.dto.QuestionQueryDTO;
import com.apexcode.system.domain.question.vo.QuestionDetailVO;
import com.apexcode.system.domain.question.vo.QuestionVO;

import java.util.List;

/**
 * @ClassName IQuestionService
 * @Description
 * @Author ZJX
 * @Date 2025/1/27 10:31
 * @Version 1.0
 **/
public interface IQuestionService {
    List<QuestionVO> list(QuestionQueryDTO questionQueryDTO);

    int add(QuestionAddDTO questionAddDTO);

    int edit(QuestionEditDTO questionEditDTO);

    QuestionDetailVO detail(Long questionId);

    int delete(Long questionId);

}
